from django.contrib.auth.decorators import login_required
from django.views.generic.simple import direct_to_template, redirect_to

@login_required
def dashboard(request):
    return direct_to_template(request, 'main.html')

